package de.mekos.shop;

import java.util.List;


/**
 * Der User ist derjenige, der am System angemeldet ist und ebenfalls im ActiveDirectory vorhanden ist.
 * 
 * @author popa
 * 
 */
public class User {

	private String name;
	
	private List<Group> groups;
	
	private List<String> section;
	
	private String distinguishedName;
	
	public User(String username) {
		this.name = username;
	}

	public String getName(){
		return name;
	}
	
	public void setName(String name){
		this.name = name;
	}
	
	public List<Group> getGroups(){
		return groups;
	}
	
	public void setGroups(List<Group> groups){
		this.groups = groups;
	}

	public List<String> getSection() {
		return section;
	}

	public void setSection(List<String> section) {
		this.section = section;
	}

	public void setDistinguishedName(String attr) {
		this.distinguishedName = attr;
	}
	
	public String getDistinguishedName(){
		return distinguishedName;
	}
	
	
}
